  * {
    box-sizing: border-box;
  }
  html {
    background-color: #29323c;
    scroll-behavior: smooth;
  }

  body {
    color: white;
    font-family: monospace;
    margin: 0;
  }

  .heroimg {
    /* background: linear-gradient(to bottom, #29323c, #485563); */
    background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.5)), url("https://images.unsplash.com/photo-1566732871001-83d799a3126a?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1095&q=80");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    height: 100vh;
    width: auto;
    position: relative;
    border-bottom: thin solid orange;
    overflow: hidden;
  }
  .herotext {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: xx-large;
    text-align: center;
    
  }

  .imgcred{
    background-color: rgba(72, 85, 99,0.1);
    width: fit-content;
    border: thin solid orange;
    border-radius: 5px;
    padding: 5px;
    font-size: xx-small
  }

  .imgcred:hover{
    background-color: rgba(255, 165, 0, 0.2);
  }

  .navlink {
    text-decoration: none;
    padding: 15px;
    list-style-type: none;
    background-color: #485563;
    display: flex;
    border-top: thin solid orange;
    justify-content: center;
    width: 100%;
    background-image: linear-gradient(to bottom, #485563, #29323c);
    margin: 0;
  }
  .navlink a {
    display: block;
    padding: 15px;
    font-family: monospace;
    font-size: larger;
    border-right: thin solid orange;
    border-left: thin solid orange;
    align-items: center;
    padding: 15px;
    margin-left: 0;
  }
  a:hover{
    background-color: orange;
  }

  a {
    text-decoration: none;
    color: white;
  }

  .text a:hover{
    background-color: orange;
  }
  
  /*name*/
  .hi {
    font-family: monospace;
    font-size: large;
    text-align: left;
    margin-bottom: 0;
    pointer-events: none;
    opacity: 0;
    animation: fade 1s ease-in 1s forwards;
  }
 
  .kai {
    margin-top: 0;
    text-shadow: 2px 5px 5px orange;
    font-family: 'Orbitron', sans-serif;
    pointer-events: none;
    opacity: 0;
    animation: fade 1s ease-in 2s forwards;
  }

  @keyframes fade {
    0%{
      opacity: 0;
    }
    100%{
      opacity: 1;
    }
  }

  .button{
    list-style: none;
    background-color: #485563;
    max-width: fit-content;
    padding: 10px;
    font-family: monospace;
    font-size: smaller;
    border-radius: 5px 10px;
    border: 2px inset orange;
    text-align: center;
    opacity: 0;
    animation: fade 1s ease-out 4s forwards;
  }

  .button:hover{
    background-color: rgb(255, 165, 0);
  }
  
  /*img hover text*/
  .flex {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
  }

  .h2mobile{
    display: none;
    border-radius: 5px 10px;
    border: 2px inset orange;
    background-color: #485563;
    text-align: center;
    padding: 10px;
    font-family: monospace;
  }

  .imgcontainer {
    display: flex;
    justify-content: center;
    position: relative;
    width: 75%;
    height: 80vh;
    margin: 20px 0;
  }

  @media screen and (max-width: 600px){
    .flex{
      width: 100%;
      flex-direction: column;
    }
    .imgcontainer{
      width: 100%;
    }
    .h2mobile{
      display: block;
    }
  }

  .kaiimg {
    display: block;
    width: inherit;
    height: inherit;
    border: 5px solid #485563;
    object-fit: cover;
    
  }

  .overlay {
    display: block;
    border: thin solid orange;
    background-color: rgba(72, 85, 99, 0.8);
    width: inherit;
    height: 0;
    overflow: hidden;
    position: absolute;
    transition: 0.5s ease-in;
  }
  .imgcontainer:hover .overlay {
    height: 100%;
  }
  .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: large;
    background-color: #29323c;
    padding: 25px;
    border-radius: 10px;
    font-family: monospace;
  }

  h2{
    text-align: center;
    font-family: 'Orbitron', sans-serif;
  }
  
  .warning{
    display: block;
    text-align: center;
    font-family: monospace;
  }